package com.heyun.service;

import java.util.List;
import java.util.Map;

import com.heyun.bean.HeyunDept;
import com.heyun.bean.HeyunSalesPre;

public interface SalesPreService {
	   //查询所有的部门名称
		public List<HeyunDept> getDeptName();
		
		//根据部门id查找部门规模及部门客户 
		public HeyunDept getCustomsAndPersons(int deptId);
		
		//保存销售预测数据
		public void saveSalesPre(HeyunSalesPre hsp);
		
		//页面加载时在页面的table展示部分销售预测的数据
		public Map<String,Object> getSalesPre(int currentPage);
		
		//根据月份查看销售预测
	    public Map<String,Object> findSalesPreByMonth(int currentPage,String preMonth);
	    
	  //根据id查看销售预测
		public HeyunSalesPre findSalesPreById(int salesPreId);
}
